+2006-12-30 Matthias Clasen <mclasen@redhat.com>
+
+ * gtk/gtkaction.c: Improve the docs of the "label"
+ property. (#341730, Kristof Vansant)
+
2006-12-30 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkwindow.c (gtk_window_compute_configure_request_size):
+2006-12-30 Matthias Clasen <mclasen@redhat.com>
+
+ * gtk/tmpl/gtkactiongroup.sgml: Document that action
+ labels may be NULL.
+
2006-12-29 Matthias Clasen <mclasen@redhat.com>
* gtk/gtk-sections.txt: Add gtk_cell_layout_get_cells.
@stock_id: The stock id for the action, or the name of an icon from the icon
theme.
@label: The label for the action. This field should typically be marked for
- translation, see gtk_action_group_set_translation_domain().
+ translation, see gtk_action_group_set_translation_domain(). If @label
+ is %NULL, the label of the stock item with id @stock_id is used.
@accelerator: The accelerator for the action, in the format understood by
gtk_accelerator_parse().
@tooltip: The tooltip for the action. This field should typically be marked
NULL,
GTK_PARAM_READWRITE |
G_PARAM_CONSTRUCT_ONLY));
+
+ /**
+ * GtkAction:label:
+ *
+ * The label used for menu items and buttons that activate
+ * this action. If the label is %NULL, GTK+ uses the stock
+ * label specified via the stock-id property.
+ */
g_object_class_install_property (gobject_class,
PROP_LABEL,
g_param_spec_string ("label",